package com.hznc.wcs.excel.model;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.lang.Double;
import java.math.BigDecimal;
import java.util.List;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import com.alibaba.excel.enums.poi.FillPatternTypeEnum;
import com.diboot.core.util.D;
import com.diboot.core.util.V;
import com.diboot.file.excel.BaseExcelModel;
import com.diboot.file.excel.annotation.ExcelBindDict;
import com.diboot.file.excel.annotation.ExcelBindField;
import com.diboot.file.excel.annotation.ExcelOption;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.diboot.iam.entity.IamOrg;
import com.diboot.iam.entity.IamPosition;
import com.diboot.iam.entity.IamRole;
import com.diboot.iam.entity.IamUser;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;
import jakarta.validation.constraints.NotNull;
import com.hznc.wcs.entity.wcs.WarehousePosition;

/**
* 库位 导入model定义
*
* @author MyName
* @version 1.0
* @date 2024-11-28
 * Copyright © MyCorp
*/
@Getter
@Setter
@ExcelIgnoreUnannotated
@HeadStyle(fillPatternType = FillPatternTypeEnum.SOLID_FOREGROUND, fillForegroundColor = 1)
public class WarehousePositionImportModel extends BaseExcelModel {
    /**
    * 仓库编码
    */
    @Length(max=100, message="仓库编码长度应小于100")
    @ExcelProperty(value = "仓库编码")
    private String warehouseCode;
    /**
    * 仓库id
    */
    @Length(max=32, message="仓库id长度应小于32")
    @ExcelProperty(value = "仓库id")
    private String warehouseId;
    /**
    * 层
    */
    @ExcelProperty(value = "层")
    private Long stratum;
    /**
    * 排
    */
    @ExcelProperty(value = "排")
    private Long order;
    /**
    * 列
    */
    @ExcelProperty(value = "列")
    private Long design;
    /**
    * 物料编码
    */
    @Length(max=100, message="物料编码长度应小于100")
    @ExcelProperty(value = "物料编码")
    private String mrlCode;
    /**
    * 物料类型
    */
    @Length(max=100, message="物料类型长度应小于100")
    @ExcelProperty(value = "物料类型")
    private String mrlType;
    /**
    * 数量
    */
    @ExcelProperty(value = "数量")
    private BigDecimal qty;
    /**
    * 单位
    */
    @ExcelOption(dict = "mrlUnit")
    @ExcelBindDict(type = "mrlUnit")
    @ExcelProperty(value = "单位")
    private String unit;
    /**
    * 区域
    */
    @Length(max=100, message="区域长度应小于100")
    @ExcelProperty(value = "区域")
    private String area;

}